module.exports = {
    devServer: {
        port: 9999,
        proxy: {
            '/ws': {
                target: 'ws://localhost:8888',
                changeOrigin: true,
                ws: true,
                // target: "http://122.51.67.17:8080",
                // pathRewrite: {
                //   '^/server': ''
                // }
            },
            '/server': {
                target: 'http://localhost:8088',
                changeOrigin: true,
                ws: true,
                pathRewrite: {
                    '^/server': ''
                }
            }
        }
    }
}
